package com.loto.insurance.oem.web.db.mapper;

import java.util.ArrayList;
import java.util.Map;

import com.loto.insurance.oem.web.entity.OrderInfo;

public interface OrderInfoMapper {

  ArrayList<OrderInfo> findAllOrdersByCustPager(Map<String, Object> params);

  long findAllOrdersByCustPagerCount(Map<String, Object> params);

  ArrayList<String> findInsCompanyByCust(long custId);

  long insertOrder(OrderInfo orderInfo);

  OrderInfo findOrderPayInfoByCust(Map<String, Object> params);

  OrderInfo findOrderPayInfoById(long orderId);

  long updateOrderStatusById(Map<String, Object> params);

  OrderInfo findOrderInfoById(Map<String, Object> params);

  long updateOrderPlatformById(Map<String, Object> params);

  ArrayList<OrderInfo> findAllOrdersPager(Map<String, Object> params);

  long findAllOrdersPagerCount(Map<String, Object> params);

  ArrayList<String> findInsCompany();
}
